package com.loan.market.util

import com.orhanobut.logger.Logger

fun Any?.log() {
    if (this == null) {
        Logger.e("Null")
        return
    }
    if (toJson().isEmpty()) {
        Logger.e("Empty")
        return
    }
    Logger.e(toJson())
}